STEP 19: Let's have the computer say it's choice, just like we did with "rock" and "scissors".

  • Drag a Say command into your if block.
  • Change the name in front to computer and change the string in .say() to "I choose scissors".
  • Go to and drag out String Variable. Drop it inside the if statement, below .say().
  • Change the name of the new variable to computer_choice and change the value to "scissors".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)